package priv.yiyuan.example.design.visitor;

import priv.yiyuan.example.design.visitor.element.ImageElement;
import priv.yiyuan.example.design.visitor.element.TextElement;

/**
 * 访问者接口
 *
 * @author YiYuan
 * @data 2025/7/30
 * @apoNote
 */
public interface DocumentVisitor {

    void visit(TextElement element);

    void visit(ImageElement element);

}
